package cn.ahaiahaixx.dp.chain;

/**
 * 抽象职责链，完成链表功能
 * 
 * @author Aiden Pearce
 *
 */
public abstract class AbstractChain implements Mychain {
  private Mychain next;

  @Override
  public Mychain getNext() {
    return next;
  }

  @Override
  public void setNext(Mychain next) {
    this.next = next;
  }
}
